import numpy as np 
import matplotlib.pyplot as plt

y=20
x=np.pi/2
w=np.pi/2
color=(206/255,32/255,69/255)
edgecolor=(206/255,32/255,69/255)

fig=plt.figure(figsize=(13.44,7.5))#建立一个画布
ax = fig.add_subplot(111,projection='polar')#建立一个坐标系，projection='polar'表示极坐标
ax.bar(x=x, height=y, width=w,bottom=10,color=color,edgecolor=color)
fig.savefig('E:\\test.png',dpi=400,bbox_inches='tight',transparent=True)